package cn.sms.order.service;

import cn.sms.basic.service.IBaseService;
import cn.sms.basic.util.PageList;
import cn.sms.order.domain.AdoptOrder;
import cn.sms.order.query.AdoptOrderQuery;
import cn.sms.user.domain.Logininfo;

import java.util.Map;

public interface IAdoptOrderService extends IBaseService<AdoptOrder> {
    String submit(Map<String, Object> params, Logininfo loginInfo);

    PageList<AdoptOrder> admin(AdoptOrderQuery query, Logininfo loginInfo);

    PageList<AdoptOrder> queryUserOrder(AdoptOrderQuery query, Logininfo loginInfo);

    AdoptOrder queryByPaySn(String paySn);

    void cancelByQuartz(Long orderId);
}
